<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {
    public function __construct() {
        parent::__construct();
        $this->load->helper('url');
        //$this->load->model('articles');
    }
    /**
     * Method for page (public)
     */
    public function index()
    {
        $data['title'] = "beranda";
        $data['header'] = $this->load->view('home/header','',TRUE);
        $data['left'] = null;
        $data['middle'] = null;
        $data['right'] = null;
        $data['footer'] = null;
        $this->load->view('front',$data);
    }
    public function all(){
   
    }
    public function subscribe(){
        
    }
    /**
     * Method for procedure (private)
     */
}